/********************************************************************
	created:	2014/08/05
	created:	5:8:2014   17:03
	filename: 	select_compiler_config
	file ext:	hpp
	author:		liyiysngg@gmail.com
	
	purpose:	compiler configuration selection header file
	
	remarks:	one identification macro for each of the compilers we support
				support gcc and msc so far
*********************************************************************/

#ifndef select_compiler_config_h__
#define select_compiler_config_h__


// locate which compiler we are using and define
// XLL_COMPILER_CONFIG as needed: 

# if defined __GNUC__
//  GNU C++:
#   define XLL_COMPILER_CONFIG "config/compiler/gcc.h"

#elif defined _MSC_VER
//  Microsoft Visual C++
//
//  Must remain the last #elif since some other vendors (Metrowerks, for
//  example) also #define _MSC_VER
#   define XLL_COMPILER_CONFIG "config/compiler/visualc.h"

#elif defined (XLL_ASSERT_CONFIG)
// this must come last - generate an error if we don't
// recognise the compiler:
#  error "Unknown compiler"

#endif


#endif // select_compiler_config_h__